<?php

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of valida
 *
 * @author marcos
 * 
 * 
 * 
 */
 require_once '../conecta.php';

  

    echo "arsd";
  
      $id= $_GET['id'];
      
     // echo $_GET["id"];

     $sql="UPDATE participantes SET situacao='cancelado' WHERE id='$id'";


      mysql_query($sql);

      header("location:controle.php");
   
             
         
   ?>
   